package com.atguigu.order.web;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @author polaris
 * @date 2021/1/25 4:23 下午
 */
@Controller
public class HelloController {
  @GetMapping("/{page}.html")
  public String listPage(@PathVariable String page) {
    return page;
  }
}
